@charset "utf-8";
/**
 * Created by younger on 2016/02/27.
 */
@import "../../public/css/placeholder/merger";

//初始化
//=========================
a {
  text-decoration: none;
  font-size: inherit;
  color: inherit;
}

body {
  font-size: $fontSize;
  font-family: $fontFamily;
  background-color: $bodyColor;
}

.collapse-hover {
  @extend %collapse-hover; //导航下的坍塌
}

li, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1 {
}

//normalize已经设置
h2 {
  font-size: 1.8em;
  margin: 0.67em 0;
}

h3 {
  font-size: 1.5em;
  margin: 0.67em 0;
}

@include mb(20px);
//========================

//中部共同用时
//=========================
.container {
  @extend %clearfix;
  width: $containerWidth;
  margin: 0 auto;
}

.top-container, .footer-container {
  @extend .container;

  box-sizing: border-box;
  padding: 0 15px;
  margin: 0 auto;
  background-color: $navTopColor;
}

%default-btn {
  @extend %default-btn;

  background-color: lighten(black, 40);
  color: white;
}

//==========================

//中部共同样式
//==========================
%box { //每个块都有20的内补白
  padding: 20px;
  background-color: $eachBoxColor;
  border-radius: 3px;
  box-shadow: 0 0 1px 0 lighten(black, 70);
}

%pic-frame { //每个图片都有10的内补白的相框
  padding: 10px;
  background-color: white;
  border-radius: 3px;
  box-shadow: 0 0 2px 0 lighten(black, 50);
}

//angular
.ng-cloak {
  display: none;
}